package org.geekbang.projects.injection.jmx;


import org.geekbang.projects.injection.BeanPostProcessor;
import org.geekbang.projects.injection.BeanWrapper;

/**
 * jmx 的后置处理器
*   ///TODO 目前只能实现 java标准MBean的注册 ，动态MBean和模型MBean待实现
* @author : lsq
*/
public class JMXBeanPostProcessor  extends JMXBeanSupport implements BeanPostProcessor {



	@Override
	public void initializationBeforePostProcessor(BeanWrapper beanWrapper) {
		register(beanWrapper.getBean());
	}

	@Override
	public void initializationPostProcessor(BeanWrapper beanWrapper) {

	}
}
